package com.sunfeng.chap4.test12;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/11/10 14:04
 */
public class Server {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket = new ServerSocket();
        serverSocket.bind(new InetSocketAddress("localhost",8888));

    }
}
